package org.game.cell.support;

import org.game.cell.CellFactory;
import org.game.cell.config.Cell;

public class DefaultCellFactory implements CellFactory {
    @Override
    public Cell getCell(int mode, int x, int y) {
        Cell cell = new Cell(mode, x, y);

        return cell;
    }

    @Override
    public Cell[][] getCellMap(int x, int y) {
        return new Cell[x][y];
    }
}
